/**
 * @description 组件样式
 * @author: 陈陈
 * @date: 2025/05/09
 * @phone: 18560000860
 * @email: 18560000860@qq.com
 * @company: 济南晨霜信息技术有限公司 /
 * @business: 承接前后端项目的开发
 */
.pure-link {
	display: inline-flex;
	flex-direction: row;
	align-items: var(--pure-link-align-items, baseline);
	gap: var(--pure-link-gap, 2px);

	&__icon {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: baseline;
		font-size: var(--pure-link-icon-font-size);
		color: var(--pure-link-icon-color);
		font-weight: var(--pure-link-icon-font-weight);
	}

	&__text {
		position: relative;
		z-index: 2;
	}

	&--theme {
		color: var(--pure-link-color, var(--pure-link-theme));
	}

	&--underline {
		position: relative;

		&::before {
			content: "";
			position: absolute;
			bottom: var(--pure-link-underline-bottom, 0);
			left: var(--pure-link-underline-left, 50%);
			right: 0;
			width: var(--pure-link-underline-width, 100%);
			height: var(--pure-link-underline-height, 1px);
			background: var(--pure-link-underline-color, currentColor);
			transform: translateX(-50%);
			z-index: 0;
			border-radius: var(--pure-link-underline-radius);
		}
	}

	&--disabled {
		color: var(--pure-link-disabled-color, var(--pure-link-color, var(--pure-link-theme)));
		opacity: var(--pure-link-disabled-opacity, var(--pure-opacity-disabled));
		pointer-events: none;
	}
}
